package Bank_State_17;

public class OverDraftState extends AccountState{
    public void deposit(double amount){
        System.out.println("透支用户：存款" + amount + "元成功");
    }
    public void withdraw(double amount){
        System.out.println("透支用户：取款" + amount + "元成功");
    }
    public void computerInterest() {
        System.out.println("透支用户：计算利息失败");
    }
}
